import request from '@/utils/request'

export function getResumeList (data) {
  return request({
    url: '/api/cv/index',
    method: 'post',
    data
  })
}

export function getResumeDetail (data) {
  return request({
    url: '/api/cv/detail',
    method: 'post',
    data
  })
}

export function deleteResume (data) {
  return request({
    url: '/api/cv/delete',
    method: 'post',
    data
  })
}

export function updateResumeStatus (data) {
  return request({
    url: '/api/cv/update_status',
    method: 'post',
    data
  })
}

export function saveResume (data) {
  return request({
    url: '/api/cv/save',
    method: 'post',
    data
  })
}
